const {
  responseSuccess
} = require('./util')

module.exports = [{
  url: '/demo/list',
  type: 'get',
  response: config => {
    return responseSuccess(demoList)
  }
}]

const demoList = {
  'count': true,
  'pageNumber': 1,
  'pageSize': 10,
  'pageTotal': 1,
  'rowTotal': 2,
  'rows': [{
    'activityName': '活动1',
    'activityStatus': 'PRE_CHECK',
    'activityStatusDesc': '待审核',
    'activityType': 'Acquisition',
    'activityTypeDesc': '拉新',
    'businessLine': 'LOAN',
    'id': 1,
    'operator': 'ZHNX08073',
    'operatorName': '唐钰惠',
    'updateTime': '2021-05-08 16:43:33'
  },
  {
    'activityName': '活动2',
    'activityStatus': 'PRE_CHECK',
    'activityStatusDesc': '待审核',
    'activityType': 'Acquisition',
    'activityTypeDesc': '拉新',
    'businessLine': 'LOAN',
    'id': 2,
    'operator': 'ZHNX08073',
    'operatorName': '唐钰惠',
    'updateTime': '2021-05-08 23:56:02'
  }
  ]
}
